package com.zsrt.java.model.proxy1;

public class StudentDaoTest {

	
	
	public static void main(String[] args) {
		
		//目标类
		StudentDao dao=new StudentDaoImpl();

		//代理类
		StudentDaoProxy proxy=new StudentDaoProxy(dao);
		
		proxy.add();
		proxy.delete();
		
		
	}
}
